export const renderKeys = [
  'categorycode',
  'parentcode',
  'Procurementcategory',
  'preparationstatus',
  'Categorycode',
  'Categoryname',
  'Categorystatus',
];

export const formRenderConfig = {
  categorycode1: {
    label: '分级品类编码',
    field: 'categoryCode',
    width: '400px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入分级品类编码',
    },
  },
  categorycode: {
    label: '父级品类编码',
    field: 'parentCategoryCode',
    width: '400px',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入分级品类编码',
    },
  },
  parentcode: {
    label: '父级品类名称',
    field: 'parentCategoryName',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入父级品类名称',
    },
  },
  Procurementcategory: {
    label: '采购大类',
    field: 'procurementClassification',
    componentName: 'dictSelect',
    componentProps: {
      dictType: 'procurementType',
      labelName: 'procurementClassification',
      valueName: 'procurementClassification',
      placeholder: '请输入采购大类',
      allowClear: 'true',
    },
  },
  preparationstatus: {
    label: '制单状态',
    field: 'documentPreparationStatus',
    componentName: 'dictSelect',
    componentProps: {
      tltle: '制单状态',
      placeholder: '请选择制单状态',
      dictType: 'documentPreparationStatus',
      labelName: 'documentPreparationStatus',
      valueName: 'documentPreparationStatus',
      allowClear: 'true',
    },
  },
  Categorycode: {
    label: '品类编码',
    field: 'categoryCode',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入品类编码',
    },
  },
  Categoryname: {
    label: '品类名称',
    field: 'categoryName',
    componentName: 'input',
    componentProps: {
      placeholder: '请输入品类名称',
    },
  },
  Categorystatus: {
    label: '品类状态',
    field: 'categoryStatus',
    componentName: 'dictSelect',
    // width: 400,
    componentProps: {
      dictType: 'categoryStatus',
      labelName: 'categoryStatus',
      valueName: 'categoryStatus',
      placeholder: '请输入品类状态',
      allowClear: 'true',
    },
  },
};
